200
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutFormatAnchor(VARIANT_TRUE,L"<b><u><fgcolor=FF0000> </fgcolor></u></b>");
spGantt1->GetColumns()->Add(L"Column");
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	var_Items->PutCellCaptionFormat(var_Items->AddItem("Just an <a1>anchor</a> element ..."),long(0),EXGANTTLib::exHTML);
EXGANTTLib::IItemsPtr var_Items1 = spGantt1->GetItems();
	var_Items1->PutCellCaptionFormat(var_Items1->AddItem("Just another <a2>anchor</a> element ..."),long(0),EXGANTTLib::exHTML);

199
Can I change the font for the tooltip

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutToolTipDelay(1);
spGantt1->PutToolTipWidth(364);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"tootip")))->PutToolTip(L"<br><font Tahoma;14>this</font> is a tooltip assigned to a column<br>");

198
Can I change the font for the tooltip

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutToolTipDelay(1);
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'stdole' for the library: 'OLE Automation'

	#import <stdole2.tlb>
*/
stdole::FontPtr var_StdFont = spGantt1->GetToolTipFont();
	var_StdFont->PutName(L"Tahoma");
	var_StdFont->PutSize(_variant_t(long(14)));
spGantt1->PutToolTipWidth(364);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"tootip")))->PutToolTip(L"this is a tooltip assigned to a column");

197
Can I change the order of the buttons in the scroll bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutScrollOrderParts(EXGANTTLib::exHScroll,L"t,l,r");
spGantt1->PutScrollOrderParts(EXGANTTLib::exVScroll,L"t,l,r");
spGantt1->PutScrollBars(EXGANTTLib::exDisableBoth);

196
The thumb size seems to be very small. Can I make it bigger

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutColumnAutoResize(VARIANT_FALSE);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C1")))->PutWidth(256);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C2")))->PutWidth(256);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C3")))->PutWidth(256);
spGantt1->PutScrollThumbSize(EXGANTTLib::exHScroll,64);

195
How can I display my text on the scroll bar, using a different font

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutScrollPartCaption(EXGANTTLib::exHScroll,EXGANTTLib::exThumbPart,L"This is <s><font Tahoma;12> just </font></s> text");
spGantt1->PutColumnAutoResize(VARIANT_FALSE);
spGantt1->PutScrollHeight(20);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C1")))->PutWidth(256);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C2")))->PutWidth(256);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C3")))->PutWidth(256);

194
How can I display my text on the scroll bar, using a different font

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutScrollPartCaption(EXGANTTLib::exHScroll,EXGANTTLib::exThumbPart,L"This is just a text");
spGantt1->GetScrollFont(EXGANTTLib::exHScroll)->PutSize(_variant_t(long(12)));
spGantt1->PutColumnAutoResize(VARIANT_FALSE);
spGantt1->PutScrollHeight(20);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C1")))->PutWidth(256);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C2")))->PutWidth(256);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C3")))->PutWidth(256);

193
How can I display my text on the scroll bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutScrollPartCaption(EXGANTTLib::exHScroll,EXGANTTLib::exThumbPart,L"this is just a text");
spGantt1->PutColumnAutoResize(VARIANT_FALSE);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C1")))->PutWidth(256);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C2")))->PutWidth(256);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C3")))->PutWidth(256);

192
How do I enlarge or change the size of the control's scrollbars

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutScrollHeight(18);
spGantt1->PutScrollWidth(18);
spGantt1->PutScrollButtonWidth(18);
spGantt1->PutScrollButtonHeight(18);
spGantt1->PutScrollBars(EXGANTTLib::exDisableBoth);

191
How do I assign a tooltip to a scrollbar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutScrollToolTip(EXGANTTLib::exHScroll,L"This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar");
spGantt1->PutColumnAutoResize(VARIANT_FALSE);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C1")))->PutWidth(256);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C2")))->PutWidth(256);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C3")))->PutWidth(256);

190
How do I assign an icon to the button in the scrollbar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spGantt1->PutScrollPartVisible(EXGANTTLib::exHScroll,EXGANTTLib::exLeftB1Part,VARIANT_TRUE);
spGantt1->PutScrollPartCaption(EXGANTTLib::exHScroll,EXGANTTLib::exLeftB1Part,L"<img>1</img>");
spGantt1->PutScrollHeight(18);
spGantt1->PutScrollButtonWidth(18);
spGantt1->PutScrollBars(EXGANTTLib::exDisableNoHorizontal);

189
I need to add a button in the scroll bar. Is this possible

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutScrollPartVisible(EXGANTTLib::exHScroll,EXGANTTLib::exLeftB1Part,VARIANT_TRUE);
spGantt1->PutScrollPartCaption(EXGANTTLib::exHScroll,EXGANTTLib::exLeftB1Part,L"1");
spGantt1->PutScrollBars(EXGANTTLib::exDisableNoHorizontal);

188
Can I display an additional buttons in the scroll bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutScrollPartVisible(EXGANTTLib::exHScroll,EXGANTTLib::exLeftB1Part,VARIANT_TRUE);
spGantt1->PutScrollPartVisible(EXGANTTLib::exHScroll,EXGANTTLib::exLeftB2Part,VARIANT_TRUE);
spGantt1->PutScrollPartVisible(EXGANTTLib::exHScroll,EXGANTTLib::exRightB6Part,VARIANT_TRUE);
spGantt1->PutScrollPartVisible(EXGANTTLib::exHScroll,EXGANTTLib::exRightB5Part,VARIANT_TRUE);
spGantt1->PutScrollBars(EXGANTTLib::exDisableNoHorizontal);

187
Can I display the picture aligned to the right, while the text aligned to the left

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutDefaultItemHeight(48);
spGantt1->GetColumns()->Add(L"C1");
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	_variant_t s = var_Items->GetSplitCell(var_Items->AddItem("Text"),long(0));
	var_Items->PutCellPicture(vtMissing,s,((IDispatch*)(spGantt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"))));
	var_Items->PutCellHAlignment(vtMissing,s,EXGANTTLib::RightAlignment);

186
How can I display a custom size picture to a cell or item

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutDefaultItemHeight(48);
spGantt1->GetColumns()->Add(L"C1");
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	var_Items->PutCellPicture(var_Items->AddItem("Text"),long(0),((IDispatch*)(spGantt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"))));

185
How can I display a multiple pictures to a cell or item

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutDefaultItemHeight(48);
spGantt1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif");
spGantt1->PutHTMLPicture(L"pic2","c:\\exontrol\\images\\auction.gif");
spGantt1->GetColumns()->Add(L"C1");
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	var_Items->PutCellCaptionFormat(var_Items->AddItem("<img>pic1</img> Text <img>pic2</img> another text ..."),long(0),EXGANTTLib::exHTML);

184
How do I change the column's foreground color for numbers between an interval - Range

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
EXGANTTLib::IConditionalFormatPtr var_ConditionalFormat = spGantt1->GetConditionalFormats()->Add(L"%0 >= 2 and %0 <= 10",vtMissing);
	var_ConditionalFormat->PutBold(VARIANT_TRUE);
	var_ConditionalFormat->PutForeColor(RGB(255,0,0));
	var_ConditionalFormat->PutApplyTo(EXGANTTLib::FormatApplyToEnum(0x1));
spGantt1->GetColumns()->Add(L"N1");
spGantt1->GetColumns()->Add(L"N2");
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem(long(1)),long(1),long(2));
EXGANTTLib::IItemsPtr var_Items1 = spGantt1->GetItems();
	var_Items1->PutCellCaption(var_Items1->AddItem(long(3)),long(1),long(3));
EXGANTTLib::IItemsPtr var_Items2 = spGantt1->GetItems();
	var_Items2->PutCellCaption(var_Items2->AddItem(long(10)),long(1),long(11));
EXGANTTLib::IItemsPtr var_Items3 = spGantt1->GetItems();
	var_Items3->PutCellCaption(var_Items3->AddItem(long(13)),long(1),long(31));
spGantt1->PutSearchColumnIndex(1);

183
How do I change the item's foreground color for numbers between an interval - Range

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetConditionalFormats()->Add(L"%0 >= 2 and %0 <= 10",vtMissing)->PutForeColor(RGB(255,0,0));
spGantt1->GetColumns()->Add(L"Numbers");
spGantt1->GetItems()->AddItem(long(1));
spGantt1->GetItems()->AddItem(long(2));
spGantt1->GetItems()->AddItem(long(10));
spGantt1->GetItems()->AddItem(long(20));

182
How do I change the item's background color for numbers less than a value

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetConditionalFormats()->Add(L"%0 < 10",vtMissing)->PutBackColor(RGB(255,0,0));
spGantt1->GetColumns()->Add(L"Numbers");
spGantt1->GetItems()->AddItem(long(1));
spGantt1->GetItems()->AddItem(long(2));
spGantt1->GetItems()->AddItem(long(10));
spGantt1->GetItems()->AddItem(long(20));

181
How do I underline the numbers greater than a value

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetConditionalFormats()->Add(L"%0 >= 10",vtMissing)->PutUnderline(VARIANT_TRUE);
spGantt1->GetColumns()->Add(L"Numbers");
spGantt1->GetItems()->AddItem(long(1));
spGantt1->GetItems()->AddItem(long(2));
spGantt1->GetItems()->AddItem(long(10));
spGantt1->GetItems()->AddItem(long(20));

180
How do I highlight in italic the numbers greater than a value

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetConditionalFormats()->Add(L"%0 >= 10",vtMissing)->PutStrikeOut(VARIANT_TRUE);
spGantt1->GetColumns()->Add(L"Numbers");
spGantt1->GetItems()->AddItem(long(1));
spGantt1->GetItems()->AddItem(long(2));
spGantt1->GetItems()->AddItem(long(10));
spGantt1->GetItems()->AddItem(long(20));

179
How do I highlight in italic the numbers greater than a value

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetConditionalFormats()->Add(L"%0 >= 10",vtMissing)->PutItalic(VARIANT_TRUE);
spGantt1->GetColumns()->Add(L"Numbers");
spGantt1->GetItems()->AddItem(long(1));
spGantt1->GetItems()->AddItem(long(2));
spGantt1->GetItems()->AddItem(long(10));
spGantt1->GetItems()->AddItem(long(20));

178
How do I highlight in bold the numbers greater than a value

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetConditionalFormats()->Add(L"%0 >= 10",vtMissing)->PutBold(VARIANT_TRUE);
spGantt1->GetColumns()->Add(L"Numbers");
spGantt1->GetItems()->AddItem(long(1));
spGantt1->GetItems()->AddItem(long(2));
spGantt1->GetItems()->AddItem(long(10));
spGantt1->GetItems()->AddItem(long(20));

177
Can I use your EBN files to change the visual appearance for +/- expand - collapse buttons

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spGantt1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spGantt1->PutLinesAtRoot(EXGANTTLib::exGroupLinesAtRoot);
spGantt1->PutHasButtons(EXGANTTLib::exCustom);
spGantt1->PutHasButtonsCustom(VARIANT_FALSE,16777216);
spGantt1->PutHasButtonsCustom(VARIANT_TRUE,33554432);
spGantt1->GetColumns()->Add(L"Column");
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	long h = var_Items->AddItem("Root 1");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("Root 2");
	var_Items->InsertItem(h,vtMissing,"Child");

176
Can I use your EBN files to change the visual appearance for radio buttons

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spGantt1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spGantt1->PutRadioImage(VARIANT_FALSE,16777216);
spGantt1->PutRadioImage(VARIANT_TRUE,33554432);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Radio")))->PutDef(EXGANTTLib::exCellHasRadioButton,VARIANT_TRUE);
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	var_Items->AddItem("Radio 1");
	var_Items->PutCellState(var_Items->AddItem("Radio 2"),long(0),1);
	var_Items->AddItem("Radio 3");

175
Can I use your EBN files to change the visual appearance for checkbox cells

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spGantt1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spGantt1->PutCheckImage(EXGANTTLib::Unchecked,16777216);
spGantt1->PutCheckImage(EXGANTTLib::Checked,33554432);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Check")))->PutDef(EXGANTTLib::exCellHasCheckBox,VARIANT_TRUE);
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	var_Items->AddItem("Check 1");
	var_Items->PutCellState(var_Items->AddItem("Check 2"),long(0),1);

174
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spGantt1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spGantt1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn");
spGantt1->PutBackground(EXGANTTLib::exHSThumb,0x1000000);
spGantt1->PutBackground(EXGANTTLib::exHSThumbP,0x2000000);
spGantt1->PutBackground(EXGANTTLib::exHSThumbH,0x3000000);
spGantt1->PutBackground(EXGANTTLib::exVSThumb,0x1000000);
spGantt1->PutBackground(EXGANTTLib::exVSThumbP,0x2000000);
spGantt1->PutBackground(EXGANTTLib::exVSThumbH,0x3000000);
spGantt1->PutColumnAutoResize(VARIANT_FALSE);
spGantt1->PutScrollBySingleLine(VARIANT_TRUE);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"S")))->PutWidth(483);
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	var_Items->PutItemHeight(var_Items->AddItem("Item 1"),248);
spGantt1->GetItems()->AddItem("Item 2");

173
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spGantt1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spGantt1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn");
spGantt1->PutBackground(EXGANTTLib::exHSThumb,0x1000000);
spGantt1->PutBackground(EXGANTTLib::exHSThumbP,0x2000000);
spGantt1->PutBackground(EXGANTTLib::exHSThumbH,0x3000000);
spGantt1->PutColumnAutoResize(VARIANT_FALSE);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"S")))->PutWidth(483);

172
I've seen that you can change the visual appearance for the scroll bar. How can I do that

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spGantt1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spGantt1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn");
spGantt1->PutBackground(EXGANTTLib::exSBtn,0x1000000);
spGantt1->PutBackground(EXGANTTLib::exSBtnP,0x2000000);
spGantt1->PutBackground(EXGANTTLib::exSBtnH,0x3000000);
spGantt1->PutBackground(EXGANTTLib::exHSBack,RGB(240,240,240));
spGantt1->PutBackground(EXGANTTLib::exVSBack,RGB(240,240,240));
spGantt1->PutBackground(EXGANTTLib::exScrollSizeGrip,RGB(240,240,240));
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"S")))->PutWidth(32);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Level 1")))->PutLevelKey(long(1));
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Level 2")))->PutLevelKey(long(1));
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Level 3")))->PutLevelKey(long(1));
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"E1")))->PutWidth(32);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"E2")))->PutWidth(32);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"E3")))->PutWidth(32);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"E4")))->PutWidth(32);
spGantt1->PutColumnAutoResize(VARIANT_FALSE);
spGantt1->PutScrollBars(EXGANTTLib::exDisableBoth);

171
Is there any option to highligth the column from the cursor - point

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spGantt1->PutBackground(EXGANTTLib::exCursorHoverColumn,0x1000000);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"S")))->PutWidth(32);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Level 1")))->PutLevelKey(long(1));
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Level 2")))->PutLevelKey(long(1));
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Level 3")))->PutLevelKey(long(1));
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"E1")))->PutWidth(32);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"E2")))->PutWidth(32);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"E3")))->PutWidth(32);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"E4")))->PutWidth(32);

170
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spGantt1->PutBackground(EXGANTTLib::exSelBackColorFilter,0x1000000);
spGantt1->PutBackground(EXGANTTLib::exSelForeColorFilter,RGB(255,20,20));
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Filter")))->PutDisplayFilterButton(VARIANT_TRUE);

169
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spGantt1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spGantt1->PutBackground(EXGANTTLib::exDateHeader,0x1000000);
spGantt1->PutBackground(EXGANTTLib::exDateTodayUp,0x1000000);
spGantt1->PutBackground(EXGANTTLib::exDateTodayDown,0x2000000);
spGantt1->PutBackground(EXGANTTLib::exDateScrollThumb,0x1000000);
spGantt1->PutBackground(EXGANTTLib::exDateScrollRange,RGB(230,230,230));
spGantt1->PutBackground(EXGANTTLib::exDateSeparatorBar,RGB(230,230,230));
spGantt1->PutBackground(EXGANTTLib::exDateSelect,0x1000000);
EXGANTTLib::IColumnPtr var_Column = ((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Date")));
	var_Column->PutFilterType(EXGANTTLib::exDate);
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutDisplayFilterDate(VARIANT_TRUE);

168
How do I change the visual aspect of the close button in the filter bar, using EBN

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spGantt1->PutBackground(EXGANTTLib::exFooterFilterBarButton,0x1000000);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Filter")))->PutFilterType(EXGANTTLib::exBlanks);
spGantt1->ApplyFilter();

167
How do I change the visual aspect of buttons in the cell, using EBN

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spGantt1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spGantt1->PutBackground(EXGANTTLib::exCellButtonUp,0x1000000);
spGantt1->PutBackground(EXGANTTLib::exCellButtonDown,0x2000000);
spGantt1->PutSelForeColor(RGB(0,0,0));
spGantt1->PutShowFocusRect(VARIANT_FALSE);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Column 1")))->PutDef(EXGANTTLib::exCellHasButton,VARIANT_TRUE);
spGantt1->GetItems()->AddItem("Button 1");
spGantt1->GetItems()->AddItem("Button 2");
spGantt1->GetColumns()->Add(L"Column 2");

166
How do I change the visual aspect of the drop down filter button, using EBN

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spGantt1->PutBackground(EXGANTTLib::exHeaderFilterBarButton,0x1000000);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Filter")))->PutDisplayFilterButton(VARIANT_TRUE);

165
Is there any function to get the control's data in your x-script format / template
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetColumns()->Add(L"Column");
spGantt1->GetItems()->AddItem("ToTemplate()");

164
How do I enable resizing the columns at runtime

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutColumnsAllowSizing(VARIANT_TRUE);
spGantt1->PutMarkSearchColumn(VARIANT_FALSE);
spGantt1->PutHeaderVisible(VARIANT_FALSE);
spGantt1->GetColumns()->Add(L"Column 1");
spGantt1->GetColumns()->Add(L"Column 2");
spGantt1->PutDrawGridLines(EXGANTTLib::exVLines);
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("Item 1"),long(1),"Sub Item 1");
EXGANTTLib::IItemsPtr var_Items1 = spGantt1->GetItems();
	var_Items1->PutCellCaption(var_Items1->AddItem("Item 2"),long(1),"Sub Item 2");

163
How can I select the second inner column when spliting the cells

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutSelectColumnInner(1);
spGantt1->PutFullRowSelect(VARIANT_FALSE);
spGantt1->PutDrawGridLines(EXGANTTLib::exAllLines);
spGantt1->GetColumns()->Add(L"Column");
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	var_Items->PutCellCaption(vtMissing,var_Items->GetSplitCell(var_Items->AddItem("Split Cell 1.1"),long(0)),"Split Cell 2.1");
	var_Items->PutCellCaption(vtMissing,var_Items->GetSplitCell(var_Items->AddItem("Split Cell 1.2"),long(0)),"Split Cell 2.2");
	var_Items->PutSelectItem(var_Items->GetFirstVisibleItem(),VARIANT_TRUE);

162
How can I sort by multiple columns

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutSingleSort(VARIANT_FALSE);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C1")))->PutSortOrder(EXGANTTLib::SortAscending);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C2")))->PutSortOrder(EXGANTTLib::SortDescending);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C3")))->PutSortOrder(EXGANTTLib::SortAscending);

161
How can I add several columns to control's sort bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutSortBarVisible(VARIANT_TRUE);
spGantt1->PutSortBarColumnWidth(48);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C1")))->PutSortOrder(EXGANTTLib::SortAscending);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C2")))->PutSortOrder(EXGANTTLib::SortDescending);

160
How can I change the width of the columns being displayed in the sort bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutSortBarVisible(VARIANT_TRUE);
spGantt1->PutSortBarColumnWidth(48);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C1")))->PutSortOrder(EXGANTTLib::SortAscending);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"C2")))->PutSortOrder(EXGANTTLib::SortDescending);

159
How can I change the height of the sort bar's

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutSortBarVisible(VARIANT_TRUE);
spGantt1->PutSortBarHeight(48);

158
How can I change the sort bar's foreground color

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutSortBarVisible(VARIANT_TRUE);
spGantt1->PutForeColorSortBar(RGB(255,0,0));

157
How can I change the visual appearance of the control's sort bar, using EBN files

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spGantt1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spGantt1->PutSortBarVisible(VARIANT_TRUE);
spGantt1->PutBackColorSortBar(0x1000000);
spGantt1->PutBackColorSortBarCaption(0x2000000);
spGantt1->PutAppearance(EXGANTTLib::None2);

156
How can I change the sort bar's background color

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutSortBarVisible(VARIANT_TRUE);
spGantt1->PutBackColorSortBar(RGB(255,0,0));
spGantt1->PutBackColorSortBarCaption(RGB(128,0,0));

155
How can I change the default caption being displayed in the control's sort bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutSortBarVisible(VARIANT_TRUE);
spGantt1->PutSortBarCaption(L"new caption");

154
How can I show the locked / fixed items on the bottom side of the control

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutShowLockedItems(VARIANT_TRUE);
spGantt1->GetColumns()->Add(L"Column");
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	var_Items->PutLockedItemCount(EXGANTTLib::MiddleAlignment,2);
	var_Items->PutCellCaption(var_Items->GetLockedItem(EXGANTTLib::MiddleAlignment,0),long(0),"locked item 1");
	var_Items->PutCellCaption(var_Items->GetLockedItem(EXGANTTLib::MiddleAlignment,1),long(0),"locked item 2");
	var_Items->AddItem("un-locked item");

153
How can I show the locked / fixed items

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutShowLockedItems(VARIANT_TRUE);
spGantt1->GetColumns()->Add(L"Column");
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	var_Items->PutLockedItemCount(EXGANTTLib::TopAlignment,2);
	var_Items->PutCellCaption(var_Items->GetLockedItem(EXGANTTLib::TopAlignment,0),long(0),"locked item 1");
	var_Items->PutCellCaption(var_Items->GetLockedItem(EXGANTTLib::TopAlignment,1),long(0),"locked item 2");
	var_Items->AddItem("un-locked item");

152
How can I hide the locked / fixed items

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutShowLockedItems(VARIANT_FALSE);
spGantt1->GetColumns()->Add(L"Column");
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	var_Items->PutLockedItemCount(EXGANTTLib::TopAlignment,1);
	var_Items->PutCellCaption(var_Items->GetLockedItem(EXGANTTLib::TopAlignment,0),long(0),"locked item");
	var_Items->AddItem("un-locked item");

151
How can I show the control's sort bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutSortBarVisible(VARIANT_TRUE);

150
How can I stretch a picture on the control's header, when multiple levels are displayed, so it is not tiled

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutPictureLevelHeader(IPictureDispPtr(((IDispatch*)(spGantt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)")))));
spGantt1->PutPictureDisplayLevelHeader(EXGANTTLib::Stretch);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"S")))->PutWidth(32);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Level 1")))->PutLevelKey(long(1));
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Level 2")))->PutLevelKey(long(1));
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Level 3")))->PutLevelKey(long(1));
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"E1")))->PutWidth(32);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"E2")))->PutWidth(32);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"E3")))->PutWidth(32);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"E4")))->PutWidth(32);

149
How can I display a picture on the control's header, when multiple levels are displayed, so it is not tiled

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutPictureLevelHeader(IPictureDispPtr(((IDispatch*)(spGantt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)")))));
spGantt1->PutPictureDisplayLevelHeader(EXGANTTLib::MiddleRight);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"S")))->PutWidth(32);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Level 1")))->PutLevelKey(long(1));
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Level 2")))->PutLevelKey(long(1));
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Level 3")))->PutLevelKey(long(1));
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"E")))->PutWidth(32);

148
How can I display a picture on the control's header, when multiple levels are displayed

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutPictureLevelHeader(IPictureDispPtr(((IDispatch*)(spGantt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"S")))->PutWidth(32);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Level 1")))->PutLevelKey(long(1));
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Level 2")))->PutLevelKey(long(1));
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Level 3")))->PutLevelKey(long(1));

147
How can I change the header's background color, when multiple levels are displayed

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutBackColorLevelHeader(RGB(250,0,0));
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"S")))->PutWidth(32);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Level 1")))->PutLevelKey(long(1));
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Level 2")))->PutLevelKey(long(1));
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Level 3")))->PutLevelKey(long(1));

146
Can I programmatically scroll the control
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetColumns()->Add(L"Column");
spGantt1->GetItems()->AddItem(long(0));
spGantt1->GetItems()->AddItem(long(1));
spGantt1->GetItems()->AddItem(long(2));
spGantt1->GetItems()->AddItem(long(3));
spGantt1->PutItems(spGantt1->GetItems(long(0)),vtMissing);
spGantt1->PutItems(spGantt1->GetItems(long(0)),vtMissing);
spGantt1->PutScrollPos(VARIANT_TRUE,1);

145
How do I disable expanding or collapsing an item when user presses the arrow keys

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutExpandOnKeys(VARIANT_FALSE);
spGantt1->PutLinesAtRoot(EXGANTTLib::exLinesAtRoot);
spGantt1->GetColumns()->Add(L"Column 1");
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	long h = var_Items->AddItem("Root");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);

144
How do I expand automatically the items while user types characters to searching for something ( incremental searching )

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutExpandOnSearch(VARIANT_TRUE);
spGantt1->PutLinesAtRoot(EXGANTTLib::exLinesAtRoot);
spGantt1->PutAutoSearch(VARIANT_TRUE);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Column")))->PutAutoSearch(EXGANTTLib::exContains);
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	var_Items->InsertItem(var_Items->InsertItem(var_Items->AddItem("text"),vtMissing,"some text"),vtMissing,"another text");
	var_Items->InsertItem(var_Items->InsertItem(var_Items->AddItem("text"),vtMissing,"some text"),vtMissing,"another text");

143
Can I programmatically scroll the control
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetColumns()->Add(L"Column");
spGantt1->GetItems()->AddItem(long(0));
spGantt1->GetItems()->AddItem(long(1));
spGantt1->GetItems()->AddItem(long(2));
spGantt1->GetItems()->AddItem(long(3));
spGantt1->PutItems(spGantt1->GetItems(long(0)),vtMissing);
spGantt1->PutItems(spGantt1->GetItems(long(0)),vtMissing);
spGantt1->Scroll(EXGANTTLib::exScrollDown,vtMissing);

142
Do you have some function to load data from a safe array
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetColumns()->Add(L"Column");
spGantt1->GetItems()->AddItem(long(0));
spGantt1->PutItems(spGantt1->GetItems(long(0)),vtMissing);

141
Do you have some function to retrieve all items to a safe array
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetColumns()->Add(L"Column");
spGantt1->GetItems()->AddItem(long(0));
spGantt1->PutItems(spGantt1->GetItems(long(0)),vtMissing);
spGantt1->GetItems()->AddItem(long(1));
spGantt1->PutItems(spGantt1->GetItems(long(0)),vtMissing);
spGantt1->GetItems()->AddItem(long(2));
spGantt1->PutItems(spGantt1->GetItems(long(0)),vtMissing);
spGantt1->GetItems()->AddItem(long(3));

140
How can still display the selected items when the control loses the focus

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutHideSelection(VARIANT_FALSE);
spGantt1->GetColumns()->Add(L"Column");
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	var_Items->AddItem("Item 3");
	var_Items->AddItem("Item 1");
	var_Items->PutSelectItem(var_Items->AddItem("Item 2"),VARIANT_TRUE);

139
How can I hide a column

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Hidden")))->PutVisible(VARIANT_FALSE);
spGantt1->GetColumns()->Add(L"2");
spGantt1->GetColumns()->Add(L"3");
spGantt1->GetColumns()->Add(L"4");
spGantt1->GetColumns()->Add(L"5");

138
How can I ensure that a column is visible and fits the control's client area

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutColumnAutoResize(VARIANT_FALSE);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"1")))->PutWidth(128);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"2")))->PutWidth(128);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"3")))->PutWidth(128);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"4")))->PutWidth(128);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"5")))->PutWidth(128);
spGantt1->EnsureVisibleColumn("5");

137
I've seen that the width of the tooltip is variable. Can I make it larger

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutToolTipWidth(328);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"tootip")))->PutToolTip(L"this is a tooltip that should be very very very very very very very long");

136
How do I disable showing the tooltip for all control
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutToolTipDelay(0);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"tootip")))->PutToolTip(L"this is a tooltip assigned to a column");

135
How do I let the tooltip being displayed longer

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutToolTipPopDelay(10000);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"tootip")))->PutToolTip(L"this is a tooltip assigned to a column");

134
How do I show the tooltip quicker
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutToolTipDelay(1);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"tootip")))->PutToolTip(L"this is a tooltip assigned to a column");

133
How do I change the caption being displayed in the control's filter bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutFilterBarCaption(L"your filter caption");
EXGANTTLib::IColumnPtr var_Column = ((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXGANTTLib::exBlanks);
spGantt1->ApplyFilter();

132
How do I disable expanding or collapsing an item when user double clicks it

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutExpandOnDblClick(VARIANT_FALSE);
spGantt1->PutLinesAtRoot(EXGANTTLib::exLinesAtRoot);
spGantt1->PutIndent(13);
spGantt1->GetColumns()->Add(L"Column 1");
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	long h = var_Items->AddItem("Root");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);

131
How do I search case sensitive, using your incremental search feature

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutAutoSearch(VARIANT_TRUE);
spGantt1->PutASCIILower(L"");
EXGANTTLib::IColumnsPtr var_Columns = spGantt1->GetColumns();
	((EXGANTTLib::IColumnPtr)(var_Columns->Add(L"exStartWith")))->PutAutoSearch(EXGANTTLib::exStartWith);
	((EXGANTTLib::IColumnPtr)(var_Columns->Add(L"exContains")))->PutAutoSearch(EXGANTTLib::exContains);
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("text"),long(1),"another text");
EXGANTTLib::IItemsPtr var_Items1 = spGantt1->GetItems();
	var_Items1->PutCellCaption(var_Items1->AddItem("text"),long(1),"another text");

130
How do I disable the control
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutEnabled(VARIANT_FALSE);

129
How do I enable the incremental search feature within a column

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutAutoSearch(VARIANT_TRUE);
EXGANTTLib::IColumnsPtr var_Columns = spGantt1->GetColumns();
	((EXGANTTLib::IColumnPtr)(var_Columns->Add(L"exStartWith")))->PutAutoSearch(EXGANTTLib::exStartWith);
	((EXGANTTLib::IColumnPtr)(var_Columns->Add(L"exContains")))->PutAutoSearch(EXGANTTLib::exContains);
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("text"),long(1),"another text");
EXGANTTLib::IItemsPtr var_Items1 = spGantt1->GetItems();
	var_Items1->PutCellCaption(var_Items1->AddItem("text"),long(1),"another text");

128
How do I call your x-script language

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
EXGANTTLib::IColumnPtr var_Column = ((EXGANTTLib::IColumnPtr)(spGantt1->ExecuteTemplate(L"Columns.Add(`Column`)")));
	var_Column->PutHeaderStrikeOut(VARIANT_TRUE);
	var_Column->PutHeaderBold(VARIANT_TRUE);

127
How do I call your x-script language

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutTemplate(L"Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`");

126
How do I show alternate rows in different background color

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutBackColorAlternate(RGB(240,240,240));
spGantt1->GetColumns()->Add(L"Column");
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	var_Items->AddItem("Item 1");
	var_Items->AddItem("Item 2");
	var_Items->AddItem("Item 3");
	var_Items->AddItem("Item 4");
	var_Items->AddItem("Item 5");

125
How do I enlarge the drop down filter window

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutFilterBarDropDownHeight("-320");
EXGANTTLib::IColumnPtr var_Column = ((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterBarDropDownWidth("-320");
spGantt1->GetItems()->AddItem("Item 1");
spGantt1->GetItems()->AddItem("Item 2");

124
How do I filter programatically the control

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
EXGANTTLib::IColumnPtr var_Column = ((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXGANTTLib::exPattern);
	var_Column->PutFilter(L"Item*");
spGantt1->GetItems()->AddItem("Item 1");
spGantt1->GetItems()->AddItem("");
spGantt1->GetItems()->AddItem("Item 2");
spGantt1->ApplyFilter();

123
How do I change the font of the control's filterbar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetFilterBarFont()->PutSize(_variant_t(long(20)));
EXGANTTLib::IColumnPtr var_Column = ((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXGANTTLib::exBlanks);
spGantt1->ApplyFilter();

122
Can I apply an EBN skin to the control's filter bar so I can change its visual appearance

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spGantt1->PutFilterBarBackColor(0x1000000);
EXGANTTLib::IColumnPtr var_Column = ((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXGANTTLib::exBlanks);
spGantt1->ApplyFilter();

121
How do I change the background color of the control's filterbar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutFilterBarBackColor(RGB(240,240,240));
EXGANTTLib::IColumnPtr var_Column = ((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXGANTTLib::exBlanks);
spGantt1->ApplyFilter();

120
How do I change the foreground color of the control's filterbar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutFilterBarForeColor(RGB(255,0,0));
EXGANTTLib::IColumnPtr var_Column = ((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXGANTTLib::exBlanks);
spGantt1->ApplyFilter();

119
How do I change the height of the control's filterbar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutFilterBarHeight(32);
EXGANTTLib::IColumnPtr var_Column = ((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXGANTTLib::exBlanks);
spGantt1->ApplyFilter();

118
How do select only a portion of text when the control starts editing a cell

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutAllowEdit(VARIANT_TRUE);
spGantt1->PutSelStart(1);
spGantt1->PutSelLength(1);
spGantt1->GetColumns()->Add(L"Column");
spGantt1->GetItems()->AddItem("Item 1");
spGantt1->GetItems()->AddItem("Item 2");

117
How do I change the header's foreground color

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutForeColorHeader(RGB(255,0,0));
spGantt1->GetColumns()->Add(L"Column 1");
spGantt1->GetColumns()->Add(L"Column 2");
spGantt1->GetItems()->AddItem("Item 1");

116
I have a picture on the control's background, the question is how do I draw selection as semi-transparent

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutPicture(IPictureDispPtr(((IDispatch*)(spGantt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spGantt1->PutSelBackMode(EXGANTTLib::exTransparent);
spGantt1->GetColumns()->Add(L"Column");
spGantt1->GetItems()->AddItem("Item 1");
spGantt1->GetItems()->AddItem("Item 2");

115
It seems that the control uses the TAB key, is there any way to avoid that
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutUseTabKey(VARIANT_FALSE);

114
I have FullRowSelect property on False, how do I force the user to select cells only in a specified column

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutSelectColumnIndex(1);
spGantt1->PutFullRowSelect(VARIANT_FALSE);
spGantt1->PutSelectColumn(VARIANT_TRUE);
spGantt1->GetColumns()->Add(L"Column 1");
spGantt1->GetColumns()->Add(L"Column 2");
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("Item 1"),long(1),"SubItem 1");

113
How do I assign a database to your control, using ADO, ADOR or ADODB objects

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutColumnAutoResize(VARIANT_FALSE);
spGantt1->PutContinueColumnScroll(VARIANT_FALSE);
/*
	Includes the definition for CreateObject function like follows:

	#include <comdef.h>
	IUnknownPtr CreateObject( BSTR Object )
	{
		IUnknownPtr spResult;
		spResult.CreateInstance( Object );
		return spResult;
	};

*/
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'ADODB' for the library: 'Microsoft ActiveX Data Objects 6.1 Library'

	#import <msado15.dll> rename("EOF","REOF")
*/
ADODB::_RecordsetPtr rs = ::CreateObject(L"ADOR.Recordset");
	rs->Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access\\SAMPLE.MDB",ADODB::adOpenStatic,ADODB::adLockOptimistic,0);
spGantt1->PutDataSource(((ADODB::_RecordsetPtr)(rs)));

112
How do I change the visual appearance effect for the selected item, using EBN

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spGantt1->PutSelBackColor(0x1000000);
spGantt1->PutSelForeColor(RGB(0,0,0));
spGantt1->PutShowFocusRect(VARIANT_FALSE);
spGantt1->GetColumns()->Add(L"Column");
spGantt1->GetItems()->AddItem(long(0));
spGantt1->GetItems()->AddItem(long(1));

111
How do I change the colors for the selected item

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutSelBackColor(RGB(0,0,0));
spGantt1->GetColumns()->Add(L"Column");
spGantt1->GetItems()->AddItem(long(0));
spGantt1->GetItems()->AddItem(long(1));

110
How do I get ride of the rectangle arround focused item

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutShowFocusRect(VARIANT_FALSE);
spGantt1->GetColumns()->Add(L"Column");
spGantt1->GetItems()->AddItem(long(0));
spGantt1->GetItems()->AddItem(long(1));

109
How can I change the control's font
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->GetFont()->PutName(L"Tahoma");
spGantt1->GetColumns()->Add(L"Column");

108
I can't scroll to the end of the data. What can I do
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutScrollBySingleLine(VARIANT_TRUE);
spGantt1->PutDrawGridLines(EXGANTTLib::exRowLines);
spGantt1->GetColumns()->Add(L"Column");
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	var_Items->PutItemHeight(var_Items->AddItem(long(0)),13);
spGantt1->PutItems(spGantt1->GetItems(long(0)),vtMissing);
EXGANTTLib::IItemsPtr var_Items1 = spGantt1->GetItems();
	var_Items1->PutItemHeight(var_Items1->AddItem(long(1)),26);
spGantt1->PutItems(spGantt1->GetItems(long(0)),vtMissing);
EXGANTTLib::IItemsPtr var_Items2 = spGantt1->GetItems();
	var_Items2->PutItemHeight(var_Items2->AddItem(long(2)),36);
spGantt1->PutItems(spGantt1->GetItems(long(0)),vtMissing);
EXGANTTLib::IItemsPtr var_Items3 = spGantt1->GetItems();
	var_Items3->PutItemHeight(var_Items3->AddItem(long(3)),48);
spGantt1->PutItems(spGantt1->GetItems(long(0)),vtMissing);

107
How do I specify the column where the tree lines / hierarchy are shown

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutLinesAtRoot(EXGANTTLib::exGroupLinesAtRoot);
spGantt1->PutTreeColumnIndex(1);
spGantt1->GetColumns()->Add(L"Column 1");
spGantt1->GetColumns()->Add(L"Column 2");
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	long h = var_Items->AddItem("Root 1.1");
	var_Items->PutCellCaption(h,long(1),"Root 1.2");
	var_Items->PutCellCaption(var_Items->InsertItem(h,vtMissing,"Child 1.1"),long(1),"Child 1.2");
	var_Items->PutCellCaption(var_Items->InsertItem(h,vtMissing,"Child 2.1"),long(1),"Child 2.2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("Root 2.1");
	var_Items->PutCellCaption(h,long(1),"Root 2.2");
	var_Items->PutCellCaption(var_Items->InsertItem(h,vtMissing,"Child 1.1"),long(1),"Child 1.2");

106
How do I specify the indentation of the child items relative to their parents

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutLinesAtRoot(EXGANTTLib::exGroupLinesAtRoot);
spGantt1->PutIndent(11);
spGantt1->GetColumns()->Add(L"Column");
EXGANTTLib::IItemsPtr var_Items = spGantt1->GetItems();
	long h = var_Items->AddItem("Root 1");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("Root 2");
	var_Items->InsertItem(h,vtMissing,"Child");

105
Is there any option to select an item using the right button of the mouse (rclick)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutRClickSelect(VARIANT_TRUE);
spGantt1->GetColumns()->Add(L"Column");
spGantt1->GetItems()->AddItem("Item 1");
spGantt1->GetItems()->AddItem("Item 2");

104
How do I edit a cell

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutAllowEdit(VARIANT_TRUE);
spGantt1->GetColumns()->Add(L"Column");
spGantt1->GetItems()->AddItem("Item 1");
spGantt1->GetItems()->AddItem("Item 2");

103
I have FullRowSelect property on False, how do I select a column
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutSelectColumnIndex(1);
spGantt1->PutFullRowSelect(VARIANT_FALSE);

102
How can I scroll columns one by one, not pixel by pixel
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutContinueColumnScroll(VARIANT_FALSE);
spGantt1->PutColumnAutoResize(VARIANT_FALSE);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"1")))->PutWidth(128);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"2")))->PutWidth(128);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"3")))->PutWidth(128);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"4")))->PutWidth(128);
((EXGANTTLib::IColumnPtr)(spGantt1->GetColumns()->Add(L"5")))->PutWidth(128);

101
How can I enable multiple items selection

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXGANTTLib' for the library: 'ExGantt 1.0 Control Library'

	#import <ExGantt.x64.dll>
	using namespace EXGANTTLib;
*/
EXGANTTLib::IGanttPtr spGantt1 = GetDlgItem(IDC_GANTT1)->GetControlUnknown();
spGantt1->PutSingleSel(VARIANT_FALSE);
spGantt1->GetColumns()->Add(L"Column");
spGantt1->GetItems()->AddItem(long(0));
spGantt1->GetItems()->AddItem(long(1));
spGantt1->GetItems()->AddItem(long(2));